<%--
    Document   : atualizarLivro
    Author     : sebastiao
--%>

<%@page contentType="text/html" pageEncoding="UTF-8" language="java"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<% response.setCharacterEncoding("UTF-8"); %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <jsp:useBean id="usuario" scope="session" class="model.UsuarioBean" />
        <form action="Controlador?cmd=atualizarVeiculo" method="post">
           <table style="text-align: left; width: 100%;" border="0" cellpadding="2" cellspacing="2">
                <tbody>
                    <tr>
                        <td style="vertical-align: top; text-align: right;">Nome: </td>
                        <td style="vertical-align: top;"><input type="text" name="nome" value="<%= usuario.getNome().trim() %>"></td>
                    </tr>
                    <tr>
                        <td style="vertical-align: top; text-align: right;">Telefone: </td>
                        <td style="vertical-align: top;"><input type="text" name="telefone" value="<%= usuario.getTelefone().trim() %>"></td>
                    </tr>
                    <tr>
                        <td style="vertical-align: top; text-align: right;">CPF: </td>
                        <td style="vertical-align: top;"><input type="text" name="cpf" value="<%= usuario.getCpf().trim() %>"></td>
                    </tr>
                    <tr>
                        <td style="vertical-align: top; text-align: right;">E-mail: </td>
                        <td style="vertical-align: top;"><input type="text" name="email" value="<%= usuario.getEmail().trim() %>"></td>
                    </tr>
                    <tr>
                        <td style="vertical-align: top; text-align: right;">Data Nascimento: </td>
                        <td style="vertical-align: top;"><input type="text" name="data_nascimento"></td>
                    </tr>
                    <tr>
                        <td style="vertical-align: top; text-align: right;">Usuario: </td>
                        <td style="vertical-align: top;"><input type="text" name="usuario"></td>
                    </tr>
                    <tr>
                        <td style="vertical-align: top; text-align: right;">Senha: </td>
                        <td style="vertical-align: top;"><input type="password" name="senha"></td>
                    </tr>
                    <tr>
                        <td style="vertical-align: top; text-align: right;"><input type="submit" value="Gravar"></td>
                        <td style="vertical-align: top;"><input type="reset" value="Limpar"></td>
                    </tr>
                </tbody>
            </table>
        </form>
        <br>
        <h5><a href="locadoraVeiculos.jsp">Menu da Locadora</a></h5>
    </body>
</html>
